package com.dm.cloud.auth.common.po;

import com.dm.cloud.basepo.po.BasePo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import io.swagger.v3.oas.annotations.media.Schema;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
   * @author hcx
   * @type AuthDw.java
   * @desc AuthDw
   */

@Entity
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "T_AUTH_DW")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "AuthDw")
public class AuthDw extends BasePo {

      /** 单位名称 **/ 
      @Schema(description = "单位名称")
      @Column(name = "dwmc")
      private String dwmc;
      /** 上级单位 **/ 
      @Schema(description = "上级单位")
      @Column(name = "sjdw")
      private String sjdw;
      /** 单位类型:H/l/K/H/ZZ **/ 
      @Schema(description = "单位类型:H/l/K/H/ZZ")
      @Column(name = "dwlx")
      private String dwlx;
      /** 单位级别:各级单位的层级标记 **/ 
      @Schema(description = "单位级别:各级单位的层级标记")
      @Column(name = "dwjb")
      private Integer dwjb;
      /** 地理坐标纬度 **/ 
      @Schema(description = "地理坐标纬度")
      @Column(name = "lat")
      private Double lat;
      /** 地理坐标经度 **/ 
      @Schema(description = "地理坐标经度")
      @Column(name = "lng")
      private Double lng;

}
